package org.oc.qaq.service;

import org.oc.qaq.dto.RoleDTO;
import org.oc.qaq.entity.Role;
import org.oc.qaq.result.Result;
import org.oc.qaq.vo.RoleVO;

import java.util.List;

public interface RoleService {
    Result<List<RoleVO>> listRoles();

    Result<?> add(RoleDTO roleDTO);

    Result<?> update(RoleDTO roleDTO);

    Result<?> delete(Long id);

    Result<?> deleteBatch(List<Long> ids);
}
